/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package rule;

/**
 *
 * @author Daniel Gribel
 */
public abstract class Rule implements RuleInterface {

    private double score;
    private String log;

    public Rule(String log) {
        this.score = 0;
        this.log = log;
    }

    public Rule() {
        this.score = 0;
        this.log = "";
    }
    
    public String getLog() {
        return log;
    }

    public void setLog(String log) {
        this.log = log;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }
    
    @Override
    public abstract void checkConditions(String dataEntry);
    
    public abstract String outputMessage();
    
}
